package com.summer.web.v1.controller;

import com.summer.common.lib.core.interfaces.PageController;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import java.util.logging.Logger;

@Path("/register")
public class RegisterPageController implements PageController {

    Logger logger = Logger.getLogger(RegisterPageController.class.getName());

    @POST
    @Path("/v1")
    @Override
    public String execute(HttpServletRequest req, HttpServletResponse resp) throws Throwable {
        logger.info("进入了register-from.jsp页面");
        return "register-from.jsp";
    }
}
